WPF and Silverlight Edition Basic Library > Menu and ContextMenu > Menu and ContextMenu Features > Checkable Menu Items > Mutually Exclusive Checkable Menu Items |
With the C1Menu control, you can create a list of checkable menu items that are grouped together so that only one item can be checked at a time.
Complete the following steps:
Complete the following steps:
Visual Basic Copy Code ItemName.IsCheckable = True
C# Copy CodeItemName.IsCheckable = true;
Complete the following steps:
Set the IsCheckable property to True.
Set the GroupName property to a string, such as "CheckableGroup".